package com.xxc.exam.mapper

import com.xxc.batis.mapper.CrudMapper
import com.xxc.exam.entity.pojo.Contest
import org.apache.ibatis.annotations.Param
import org.springframework.stereotype.Repository
import java.math.BigInteger

@Repository
interface ContestMapper : CrudMapper<Contest> {
    /**
     * 通过试卷id获取考试
     */
    fun selectContestByPaperIds(@Param("ids")ids:List<BigInteger>):List<Contest>
}